package com.gupao.demo.annotation.configuration;import com.gupao.project.entity.Person;import org.springframework.context.annotation.Bean;import org.springframework.context.annotation.Configuration;@Configurationpublic class MyConfig {    /**     * bean的名字     * 、默认类名 首字母小写     *     * 、 取bean注解的value  优先级高于  方法名     * @return     */    @Bean(value = "person2")    public Person person1(){        return new Person("ton",17);    }}